{% extends "base.html" %}

{% load trans from i18n %}

{% block content %}
  <div id="dashboard" class="set-content-margin">
    {% block dashboard_content %}{% endblock %}
  </div>
{% endblock %}

{% block sidebar %}
  <ul class="nav nav-list">
    <li class="nav-header">
      {% trans "Blog" %}
    </li>
    <li>
      <a href="{% url dashboard-index %}">
        <i class="icon-book"></i>
        {% trans "All Posts" %}
      </a>
    </li>
    <li>
      <a href="{% url dashboard-article-new %}">
        <i class="icon-plus"></i>
        {% trans "Add New" %}
      </a>
    </li>

    <li class="nav-header">
      {% trans "Settings" %}
    </li>
    <li>
      <a href="#">
        <i class="icon-cog"></i>
        {% trans "General" %}
      </a>
    </li>
    <li>
      <a href="#">
        <i class="icon-gift"></i>
        {% trans "Widgets" %}
      </a>
    </li>

    <li class="nav-header">
      {% trans "App Engine" %}
    </li>
    <li>
      <a href="/_ah/admin">
        <i class="icon-star"></i>
        {% trans "Console" %}
      </a>
    </li>
  </ul>
{% endblock %}